Fix apc errors

This fixes errors like this

[apc-error] apc_mmap: mmap failed: Cannot allocate memory

Adding M to shm_size and local_size now results in an error. APC
defaults to megabytes in the config.