add option to check mapped memory

- new option --mappedMem
- use cudaHostAlloc if --mappedMem is enabled

This new option is needed if we use MappedBuffer, because we see some problems with cuda mapped memory after some invalid memory operations.