Generic rename_android_soname_files utility function

Used for Qt5 package based application builds.

The almost identical version in mkqt5bld.py needs to be
removed in follow-up commit once tested that this version
works with regular qt5 desktop builds.

Change-Id: I8e4f12bd6054b09a60de1beb6cc7e931013a50f3
Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>