HMRC is urging older Britons to check their tax codes and ensure they are not caught out by an unexpected bill in their golden years.