Improve key mapping fix to not break on ealier versions of libcec