use common libc roundup macro

Change-Id: I9e4a94cdb058415b976c317b2829ea6b33eb5a3a