Added O_SYNC to mmap open so that memory is not cached.

Thanks to rickb777 for pointing this out: http://41j.com/blog/2011/09/beagleboard-gpio-input-driverless/

Applied to both raspberry pi and beaglebone drivers.