devel: Set BBOB's objective value methods to be const

Const means in this sense, that they do not adjust any class field, etc.
The return value however is not set to be const.

Signed-off-by: Sebastian Niemann <niemann@sra.uni-hannover.de>