Fixed shared memory issue for ARM

I don't know, if this patch is clean enough, but I'll send you this pull request for reference.

Error was:
```
pi@raspberrypi ~/kalibrate-rtl/src $ ./kal -s GSM900
shmat: Invalid argument
terminate called after throwing an instance of 'std::runtime_error'
what(): circular_buffer: shmat
Aborted
```