[#2878] Deprecate Record.getValue() and Result.getValue() methods that take a defaultValue argument