additional device_util cleanup, added RAII object to manage posix_memalign ptrs