Question: why can riku smell darkness?
Answer: Perhaps, within the context of this being Kingdom Hearts, his "smelling powers" maybe just an extra sensitivity to darkness due to it being a part of him. That being said, being in its presence could very well excite his olfactory receptors when in its presence. Thus his "smelling" it.