omap: Split omap_read/write functions for omap1 and omap2+