Support ARM Linux device and add Beaglebone as a support device

This patch set enables building PPSSPP on an embedded Linux board called the Beaglebone/Beaglebone Black. Minor tweaks are made to easily support thiis board.
Should be fine either way indeed, i'd say shm feels cleaner though and may avoid flushing to disk.