An error dating back to 1978 could mean some people are owed thousands of pounds by HMRC, Martin Lewis has explained.