mali: fix error in boost logic

it sometimes caused mali boost to lock up at high freq regardless of
the load
mali: add mutex locking to boost logic
Merge pull request #34 from mkaluza/mali_fix

Mali fix