Version: Fix both rom and gapps version format

Change-Id: I34854521eee4528ce305fb300e8cae2c734650a2