(Lakka) Move tweening related functions in an external lib

Tweening functions will be needed by future animated display drivers like this one https://www.flickr.com/photos/127429291@N07/