Hans Leidekker : msi: Fix buffer size calculation in get_keypath.