Make uiomux_register_memory() avaiable under all configurations

The uiomux_register_memory() function should be available regardless of the
memory allocation mechanism in use.