Add imenu support to navigation through functions for non-semantic buffers.