wavparse: Use scale_ceil() functions from core instead of custom ones