GROOVY-6509: Fix to inherited @Memoized method.
Merge pull request #302 from bura/fix-inherited-memoized-method

GROOVY-6509: Fix to inherited @Memoized method.